package guoanmaker.provider.business.modelnobind;

import guoanmaker.provider.business.model.ShopCommodity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * DESC:
 * Created by JTing on 2017/12/17 11:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProvideShopListMove {
    private String businessId;   //商户id
    private String shopId;      //店铺id
    private String businessName;  //店铺名称
    private String companyLogo;  //店铺logo
    private Long followNum;        //关注数目
    private String score;  //评分
    private Integer state;  //0待审核 1审核成功  2审核失败   3冻结
    private List<ShopCommodity> shopCommodities;  //店铺下的商品
    private String introduce;  //店铺描述
    public ProvideShopListMove(String businessId, String shopId, String businessName, String companyLogo, Long followNum, String score, Integer state) {
        this.businessId = businessId;
        this.shopId = shopId;
        this.businessName = businessName;
        this.companyLogo = companyLogo;
        this.followNum = followNum;
        this.score = score;
        this.state = state;
    }

    public ProvideShopListMove(String businessId, String shopId, String businessName, String companyLogo, Long followNum, Integer state,String introduce) {
        this.businessId = businessId;
        this.shopId = shopId;
        this.businessName = businessName;
        this.companyLogo = companyLogo;
        this.followNum = followNum;
        this.state = state;
        this.introduce = introduce;
    }

    public ProvideShopListMove(String businessId, String shopId, String businessName, String companyLogo, Long followNum, String score, Integer state, List<ShopCommodity> shopCommodities) {
        this.businessId = businessId;
        this.shopId = shopId;
        this.businessName = businessName;
        this.companyLogo = companyLogo;
        this.followNum = followNum;
        this.score = score;
        this.state = state;
        this.shopCommodities = shopCommodities;
    }
}
